package com.yfp.device.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MachineAdExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MachineAdExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andMachineAdIdIsNull() {
            addCriterion("machine_ad_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdIsNotNull() {
            addCriterion("machine_ad_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdEqualTo(Long value) {
            addCriterion("machine_ad_id =", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdNotEqualTo(Long value) {
            addCriterion("machine_ad_id <>", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdGreaterThan(Long value) {
            addCriterion("machine_ad_id >", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdGreaterThanOrEqualTo(Long value) {
            addCriterion("machine_ad_id >=", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdLessThan(Long value) {
            addCriterion("machine_ad_id <", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdLessThanOrEqualTo(Long value) {
            addCriterion("machine_ad_id <=", value, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdIn(List<Long> values) {
            addCriterion("machine_ad_id in", values, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdNotIn(List<Long> values) {
            addCriterion("machine_ad_id not in", values, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdBetween(Long value1, Long value2) {
            addCriterion("machine_ad_id between", value1, value2, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineAdIdNotBetween(Long value1, Long value2) {
            addCriterion("machine_ad_id not between", value1, value2, "machineAdId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andAdIdIsNull() {
            addCriterion("ad_id is null");
            return (Criteria) this;
        }

        public Criteria andAdIdIsNotNull() {
            addCriterion("ad_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdIdEqualTo(String value) {
            addCriterion("ad_id =", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotEqualTo(String value) {
            addCriterion("ad_id <>", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdGreaterThan(String value) {
            addCriterion("ad_id >", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdGreaterThanOrEqualTo(String value) {
            addCriterion("ad_id >=", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLessThan(String value) {
            addCriterion("ad_id <", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLessThanOrEqualTo(String value) {
            addCriterion("ad_id <=", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLike(String value) {
            addCriterion("ad_id like", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotLike(String value) {
            addCriterion("ad_id not like", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdIn(List<String> values) {
            addCriterion("ad_id in", values, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotIn(List<String> values) {
            addCriterion("ad_id not in", values, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdBetween(String value1, String value2) {
            addCriterion("ad_id between", value1, value2, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotBetween(String value1, String value2) {
            addCriterion("ad_id not between", value1, value2, "adId");
            return (Criteria) this;
        }

        public Criteria andAdTypeIsNull() {
            addCriterion("ad_type is null");
            return (Criteria) this;
        }

        public Criteria andAdTypeIsNotNull() {
            addCriterion("ad_type is not null");
            return (Criteria) this;
        }

        public Criteria andAdTypeEqualTo(Integer value) {
            addCriterion("ad_type =", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotEqualTo(Integer value) {
            addCriterion("ad_type <>", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeGreaterThan(Integer value) {
            addCriterion("ad_type >", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ad_type >=", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeLessThan(Integer value) {
            addCriterion("ad_type <", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ad_type <=", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeIn(List<Integer> values) {
            addCriterion("ad_type in", values, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotIn(List<Integer> values) {
            addCriterion("ad_type not in", values, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeBetween(Integer value1, Integer value2) {
            addCriterion("ad_type between", value1, value2, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ad_type not between", value1, value2, "adType");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIsNull() {
            addCriterion("paly_begin_time is null");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIsNotNull() {
            addCriterion("paly_begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time =", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time <>", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("paly_begin_time >", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time >=", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeLessThan(Date value) {
            addCriterionForJDBCDate("paly_begin_time <", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time <=", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIn(List<Date> values) {
            addCriterionForJDBCDate("paly_begin_time in", values, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("paly_begin_time not in", values, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("paly_begin_time between", value1, value2, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("paly_begin_time not between", value1, value2, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIsNull() {
            addCriterion("play_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIsNotNull() {
            addCriterion("play_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time =", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time <>", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("play_end_time >", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time >=", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeLessThan(Date value) {
            addCriterionForJDBCDate("play_end_time <", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time <=", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIn(List<Date> values) {
            addCriterionForJDBCDate("play_end_time in", values, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("play_end_time not in", values, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("play_end_time between", value1, value2, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("play_end_time not between", value1, value2, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPalyStatusIsNull() {
            addCriterion("paly_status is null");
            return (Criteria) this;
        }

        public Criteria andPalyStatusIsNotNull() {
            addCriterion("paly_status is not null");
            return (Criteria) this;
        }

        public Criteria andPalyStatusEqualTo(Integer value) {
            addCriterion("paly_status =", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusNotEqualTo(Integer value) {
            addCriterion("paly_status <>", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusGreaterThan(Integer value) {
            addCriterion("paly_status >", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("paly_status >=", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusLessThan(Integer value) {
            addCriterion("paly_status <", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusLessThanOrEqualTo(Integer value) {
            addCriterion("paly_status <=", value, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusIn(List<Integer> values) {
            addCriterion("paly_status in", values, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusNotIn(List<Integer> values) {
            addCriterion("paly_status not in", values, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusBetween(Integer value1, Integer value2) {
            addCriterion("paly_status between", value1, value2, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("paly_status not between", value1, value2, "palyStatus");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIsNull() {
            addCriterion("paly_ad_position is null");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIsNotNull() {
            addCriterion("paly_ad_position is not null");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionEqualTo(Integer value) {
            addCriterion("paly_ad_position =", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotEqualTo(Integer value) {
            addCriterion("paly_ad_position <>", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionGreaterThan(Integer value) {
            addCriterion("paly_ad_position >", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionGreaterThanOrEqualTo(Integer value) {
            addCriterion("paly_ad_position >=", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionLessThan(Integer value) {
            addCriterion("paly_ad_position <", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionLessThanOrEqualTo(Integer value) {
            addCriterion("paly_ad_position <=", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIn(List<Integer> values) {
            addCriterion("paly_ad_position in", values, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotIn(List<Integer> values) {
            addCriterion("paly_ad_position not in", values, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionBetween(Integer value1, Integer value2) {
            addCriterion("paly_ad_position between", value1, value2, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotBetween(Integer value1, Integer value2) {
            addCriterion("paly_ad_position not between", value1, value2, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterionForJDBCDate("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateOperIsNull() {
            addCriterion("update_oper is null");
            return (Criteria) this;
        }

        public Criteria andUpdateOperIsNotNull() {
            addCriterion("update_oper is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateOperEqualTo(String value) {
            addCriterion("update_oper =", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperNotEqualTo(String value) {
            addCriterion("update_oper <>", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperGreaterThan(String value) {
            addCriterion("update_oper >", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperGreaterThanOrEqualTo(String value) {
            addCriterion("update_oper >=", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperLessThan(String value) {
            addCriterion("update_oper <", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperLessThanOrEqualTo(String value) {
            addCriterion("update_oper <=", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperLike(String value) {
            addCriterion("update_oper like", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperNotLike(String value) {
            addCriterion("update_oper not like", value, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperIn(List<String> values) {
            addCriterion("update_oper in", values, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperNotIn(List<String> values) {
            addCriterion("update_oper not in", values, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperBetween(String value1, String value2) {
            addCriterion("update_oper between", value1, value2, "updateOper");
            return (Criteria) this;
        }

        public Criteria andUpdateOperNotBetween(String value1, String value2) {
            addCriterion("update_oper not between", value1, value2, "updateOper");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Boolean value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Boolean value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Boolean value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Boolean value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Boolean value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Boolean> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Boolean> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}